﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using MahApps.Metro.Controls;
using Reader.Libs.BOOKOBJ;

namespace Reader.UC.Dialogs
{
    /// <summary>
    /// Interaction logic for PdfPasswordDialog.xaml
    /// </summary>
    public partial class DeleteConfirmDialog : MetroWindow
    {
        public event EventHandler OnDeleteAccept;
        public DeleteConfirmDialog()
        {
            InitializeComponent();
        }


        private void CancelBtn_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void YesBtn_Click(object sender, RoutedEventArgs e)
        {
            if (this.OnDeleteAccept != null)
                this.OnDeleteAccept(this, EventArgs.Empty);
            this.Close();
        }

    }
}
